package com.mifengs.mall.event;

import com.mifengs.mall.ui.opencompany.AuditFragment;

import java.util.HashMap;

/**
 * Created by lihaoqi on 2017/11/9.
 */

public class OpenSelfEvent {

    public static final int TOHANDWRITEPAGE = 1;
    public static final int TOMATERIALSUBPAGE = 2;
    public static final int TOAUDITPAGE = 3;
    public static final int TOMATERIALSUBPAGE_FAIL = 4;
    public int action;
    public HashMap<String,Object> hashMap;
    public AuditFragment.AuditStatus auditStatus;
    public String failInfo;

    public OpenSelfEvent(int action) {
        this.action = action;
    }

    public OpenSelfEvent(int action, HashMap<String,Object> hashMap) {
        this.action = action;
        this.hashMap = hashMap;
    }

    public OpenSelfEvent() {}

    public HashMap<String, Object> getHashMap() {
        return hashMap;
    }

    public void setHashMap(HashMap<String, Object> hashMap) {
        this.hashMap = hashMap;
    }
}
